﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BesAsm.Stormwater.TimeSeries;

namespace BesAsm.Stormwater.Swmm5Results
{
  public class ResultVariable : TimeSeries<float>, IName
  {
    public bool IsLoaded { get; internal set; }
    public float[] Results
    {
      get
      {
        return this.Values.ToArray();
      }
    }

    public int Position { get; protected set; }

    public ResultVariable(string name, int position)
    {
      Position = position;
      Name = name;
    }

    #region IName Members

    public string Name { get; internal set; }

    #endregion
  }

}
